﻿using ReactiveUI;

namespace WpfApp1
{
    public class AbstractUserControl<TViewModel> : ReactiveUserControl<TViewModel> where TViewModel : ReactiveObject
    {
        public AbstractUserControl()
        {
            this.DataContext = ServiceHelper.GetService<TViewModel>();
        }
    }
}
